package com.kapcb.common.exception;

/**
 * <a>Title: BizException </a>
 * <a>Author: kapcb <a>
 * <a>Description: BizException <a>
 *
 * @author Kpacb
 * @version 1.0
 * @date 2024/9/21 9:56
 * @since 1.0
 */
public class BizException extends BaseException {

    private static final long serialVersionUID = -1429385809768966751L;

    private static final String DEFAULT_ERR_CODE = "BIZ_ERROR";

    public BizException(String errMessage) {
        super(DEFAULT_ERR_CODE, errMessage);
    }

    public BizException(String errCode, String errMessage) {
        super(errCode, errMessage);
    }

    public BizException(String errMessage, Throwable e) {
        super(DEFAULT_ERR_CODE, errMessage, e);
    }

    public BizException(String errorCode, String errMessage, Throwable e) {
        super(errorCode, errMessage, e);
    }
}
